/**
 * appConfig 初始化
 */

import Vue from "vue";
import appConfig from "./appConfig";

appConfig.baseUrl = location.protocol + "//" + location.hostname + (!location.port || location.port == "80" ? "" : ":" + location.port) + appConfig.routeBasePath;
appConfig.staticUrl = appConfig.baseUrl + process.env.VUE_APP_STATIC +"/";

window.appConfig = appConfig;
Vue.prototype.appConfig = appConfig;



